package com.blb.zy_community.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.zy_community.entity.ZyBuilding;
import com.blb.zy_community.entity.ZyRoom;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.zy_community.entity.ZyUnit;

import java.util.List;

/**
 * <p>
 * 房间  服务类
 * </p>
 *
 * @author 二组
 * @since 2023-06-18
 */
public interface IZyRoomService extends IService<ZyRoom> {

    /**
     * 带模糊查询的房屋列表
     * @param unitId
     * @param buildingId
     * @param roomStatus
     */
    Page<ZyRoom> selectRoomList(Page<ZyRoom> page, String unitId, String buildingId, String roomStatus,Long communityId);

   List<ZyBuilding> getbuildingList();


   void batchDeleteIds(Long roomIds[]);

}
